package com.example.demo.aa;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

@ConfigurationProperties(prefix = "p")
@Component
@Data
public class Person {
    private String name;
    private List<String> favorite;

    private List<Song> songs;

}
